<a href="{$linkPreffix}1{$linkSuffix}">&laquo;</a>
{if $current > 1}
<a href="{$linkPreffix}{math equation="c - 1" c=$current}{$linkSuffix}">&lsaquo;</a>
{/if}
{section name=page start=1 loop=$current}
{if $smarty.section.page.index < $current}
<a href="{$linkPreffix}{$smarty.section.page.index}{$linkSuffix}">{$smarty.section.page.index}</a>
{/if}
{/section}
{$current}
{section name=page start=$current loop=$count}
{if $smarty.section.page.index > $current}
<a href="{$linkPreffix}{$smarty.section.page.index}{$linkSuffix}">{$smarty.section.page.index}</a>
{/if}
{/section}
{if $current < $count}
<a href="{$linkPreffix}{$count}{$linkSuffix}">{$count}</a>
<a href="{$linkPreffix}{math equation="c + 1" c=$current}{$linkSuffix}">&rsaquo;</a>
{/if}
<a href="{$linkPreffix}{$count}{$linkSuffix}">&raquo;</a>